class s(object):

    def fun(self):
        pass

    @property
    def width(self):
        return self._width

    @width.setter
    def width(self, width):
        self._width = width

    @property
    def height(self):
        return self._height

    @height.setter
    def height(self, height):
        self._height = height

    @property
    def resolution(self):
        return str(self._width) + "*" + str(self._height)


sNew = s()
print(callable(sNew.fun))
sNew.width = 1000
sNew.height = 2000
print(dir(sNew))
print(sNew.resolution)
